Give\Donors\Repositories\DonorRepository A

Total Complexity 51
Dependencies 12
Dependents 1
Total lines 499
Lines of code 280
Logical lines of code 115
Comment lines 115
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
insert()
A
42 9 52
update()
A
47 9 34
getDonorType()
S
49 6 32
updateLegacyColumns()
S
55 4 19
updateAdditionalEmails()
S
58 3 18
delete()
S
56 2 19
getDonorLatestDonationDate()
S
59 2 15
validateDonor()
S
68 3 7
getByEmail()
S
62 2 13
getAdditionalEmails()
S
63 2 11
getByAdditionalEmail()
S
63 2 11
prepareQuery()
S
53 1 24
getByWpUserId()
S
68 2 8
queryById()
S
76 1 4
getCoreDonorMeta()
S
69 1 7
getById()
S
80 1 3
getDonorsCount()
S
80 1 3